Severity score calculation